# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'form.ui'
#
# Created: Thu Dec 16 14:14:26 2010
#      by: PySide uic UI code generator
#
# WARNING! All changes made in this file will be lost!

from PySide import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(479, 457)
        self.verticalLayout_2 = QtGui.QVBoxLayout(Form)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(Form)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.Host = QtGui.QLineEdit(Form)
        self.Host.setObjectName("Host")
        self.horizontalLayout.addWidget(self.Host)
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.Port = QtGui.QLineEdit(Form)
        self.Port.setObjectName("Port")
        self.horizontalLayout.addWidget(self.Port)
        self.Run = QtGui.QPushButton(Form)
        self.Run.setObjectName("Run")
        self.horizontalLayout.addWidget(self.Run)
        self.AsService = QtGui.QCheckBox(Form)
        self.AsService.setObjectName("AsService")
        self.horizontalLayout.addWidget(self.AsService)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.OutText = QtGui.QPlainTextEdit(Form)
        self.OutText.setObjectName("OutText")
        self.verticalLayout_2.addWidget(self.OutText)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.InputText = QtGui.QPlainTextEdit(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.InputText.sizePolicy().hasHeightForWidth())
        self.InputText.setSizePolicy(sizePolicy)
        self.InputText.setBaseSize(QtCore.QSize(0, 0))
        self.InputText.setObjectName("InputText")
        self.horizontalLayout_2.addWidget(self.InputText)
        self.Send = QtGui.QPushButton(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Send.sizePolicy().hasHeightForWidth())
        self.Send.setSizePolicy(sizePolicy)
        self.Send.setObjectName("Send")
        self.horizontalLayout_2.addWidget(self.Send)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Form", "主機:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Form", "端口:", None, QtGui.QApplication.UnicodeUTF8))
        self.Run.setText(QtGui.QApplication.translate("Form", "運行", None, QtGui.QApplication.UnicodeUTF8))
        self.AsService.setText(QtGui.QApplication.translate("Form", "服務端", None, QtGui.QApplication.UnicodeUTF8))
        self.Send.setText(QtGui.QApplication.translate("Form", "發送", None, QtGui.QApplication.UnicodeUTF8))
        self.Host.setText(QtGui.QApplication.translate("Form", "localhost", None, QtGui.QApplication.UnicodeUTF8))
        self.Port.setText(QtGui.QApplication.translate("Form", "5423", None, QtGui.QApplication.UnicodeUTF8))

